package axis
Import Path
github.com/K-Phoen/grabana/axis (on go.dev)
Dependency Relation
imports one package, and imported by one package
Involved Source Files
axis.go
Package-Level Type Names (total 2)
Option represents an option that can be used to configure an axis.
func Hide() Option
func Label(label string) Option
func LogBase(base int) Option
func Max(max float64) Option
func Min(min float64) Option
func Unit(unit string) Option
func New(options ...Option) *Axis
func github.com/K-Phoen/grabana/graph.LeftYAxis(opts ...Option) graph.Option
func github.com/K-Phoen/grabana/graph.RightYAxis(opts ...Option) graph.Option
func github.com/K-Phoen/grabana/graph.XAxis(opts ...Option) graph.Option
Package-Level Functions (total 7)
Hide makes the axis hidden.
Label sets the label on this axis.
LogBase allows to change the logarithmic scale used to display the values.
Max sets the maximum value expected on this axis.
Min sets the minimum value expected on this axis.
New creates a new Axis configuration.
Unit sets the unit of the data displayed on this axis.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |